<?php

class Permission {
	
	private $filename;
	private $name;
	private $filepath;
	
	function __construct($filename,$permission) {
		
		$this->filename = $filename;
		$this->name = $permission;
		$this->filepath = realpath('../files/'.$filename);
	}
	
	public function getName()
	{
		return $this->name;
	}
	
	public function getFilename()
	{
		return $this->filename;
	}
	
	public function getFilepath()
	{
		return $this->filepath;
	}
	
	public function setFilename($filename)
	{
		$this->filename = $filename;
	}
	
	public function setName($name)
	{
		$this->name = $name;
	}

}